package cn.tedu.signin.management.dao.persist.repository.impl;

import cn.tedu.signin.management.dao.persist.mapper.singInMapper;
import cn.tedu.signin.management.dao.persist.repository.singInRepository;
import cn.tedu.signin.management.pojo.entity.SingIn;
import cn.tedu.signin.management.pojo.vo.SingInVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class singInRepositoryImpl implements singInRepository {
    @Autowired
    private singInMapper singInMapper;
    @Override
    public int insert(SingIn singIn) {

        return singInMapper.insert(singIn);
    }

    @Override
    public List<SingInVO> serlectList() {
        return singInMapper.serlectList();
    }

    @Override
    public SingInVO select(Long serialNumber) {
        return singInMapper.select(serialNumber);
    }
}
